﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for ThanhVienBLL
/// </summary>
public class BLLThanhVien
{

    public bool InsertMember(ThanhVien thanhvien)
    {
        bool status = false;
        DALThanhVien tv = new DALThanhVien();
        if (tv.CheckRegister(thanhvien.Email))
        {
            tv.Insert(thanhvien);
            status = true;
        }
        else
        {
            status = false;
        }
        return status;
    }
}